use std::net::SocketAddr;

use serde::{Deserialize, Serialize};

pub fn app_port() -> u16 {
    8080
}

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Config {
    #[serde(default = "app_port")]
    pub app_port: u16,
    pub rpc_secret: String,
}
